

class TpShopLogin(object):

    @classmethod
    def get_verify(cls,session):
        session.get(url="https://hmshop-test.itheima.net/index.php?m=Home&c=User&a=verify&r=0.9624641932255422")
    @classmethod
    def login(cls,session,login_data):
        resp = session.post(url="https://hmshop-test.itheima.net/index.php?m=Home&c=User&a=do_login&t=0.9788091166882744",
                     data=login_data)
        return resp